package com.tarena.lbs.coupon.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.coupon.api.pojo.param.UserCouponsParam;
import com.tarena.lbs.coupon.pojo.param.CouponParam;
import com.tarena.lbs.coupon.pojo.query.UserCouponCodeQuery;
import com.tarena.lbs.coupon.pojo.query.UserCouponQuery;
import com.tarena.lbs.coupon.pojo.vo.CouponVO;
import com.tarena.lbs.coupon.pojo.vo.UserCouponsVO;

import java.text.ParseException;

public interface CouponService {


    PageResult<CouponVO> pageList(Integer Busid);

    void addCoupon(CouponParam couponParam) throws BusinessException;

    CouponVO detail(Integer id);

    void receiveCoupon(UserCouponsParam param) throws BusinessException;

    PageResult<UserCouponsVO> receiveList(UserCouponQuery couponQuery);

    UserCouponsVO receiveDetail(UserCouponCodeQuery query);
}
